/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package POJO;

/**
 *
 * @author Master
 */
public class POJO_GheNgoi {
    private String MaGhe;
    private String MaDT;
    private String LoaiGhe;
    private String TenToa;
    private String MaPhong;
    private int Tang;

    public void setMaGhe(String _maghe)
    {
        this.MaGhe = _maghe;
    }
    public String getMaGhe()
    {
        return MaGhe;
    }

    public String getMaDT() {
        return MaDT;
    }

    public void setMaDT(String MaDT) {
        this.MaDT = MaDT;
    }
    
    public void setLoaiGhe(String _loaighe)
    {
        this.LoaiGhe = _loaighe;
    }
    public String getLoaiGhe()
    {
        return LoaiGhe;
    }
    
    public void setTenToa(String _tentoa)
    {
        this.TenToa = _tentoa;
    }
    public String getTenToa()
    {
        return TenToa;
    }
    
    public void setMaPhong(String _maphong)
    {
        this.MaPhong = _maphong;
    }
    public String getMaPhong()
    {
        return MaPhong;
    }
    
    public void setTang(int _tang)
    {
        this.Tang = _tang;
    }
    public int getTang()
    {
        return Tang;
    }

    public POJO_GheNgoi() {
        this.MaGhe = "";
        this.MaDT = "";
        this.LoaiGhe = "";
        this.TenToa = "";
        this.MaPhong = "";
        this.Tang = -1;
    }

    public POJO_GheNgoi(String MaGhe, String MaDT, String LoaiGhe, String TenToa, String MaPhong, int Tang) {
        this.MaGhe = MaGhe;
        this.MaDT = MaDT;
        this.LoaiGhe = LoaiGhe;
        this.TenToa = TenToa;
        this.MaPhong = MaPhong;
        this.Tang = Tang;
    }

    @Override
    public String toString() {
        return this.MaGhe;
    }
    
    
}
